package com.example.second.command.classes;

import com.example.second.command.interfaces.Command;

/**
 * @ClassName: LedOnCommand$
 * @Description: java类作用描述
 * @Author: xinya
 * @CreateDate: 2020/12/22$ 14:01$
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */
public class LedOnCommand implements Command {
    private LedOn mLedOn;

    public LedOnCommand(LedOn ledOn) {
        mLedOn = ledOn;
    }

    @Override
    public void execute() {
        mLedOn.on();
    }
}
